package com.pinda.feign;

import com.pinda.work.vo.PdTaskPickupDispatchView;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "aggregation-service",path = "/pd-task-pickup-dispatch",url = "http://localhost:2001")
public interface PdTaskPickupDispatchFeign {
    /**
     * 查询取件和派件
     * @param val
     * @return
     */
    @GetMapping("/queryPdTaskPickupDispatchView/{id}")
    List<PdTaskPickupDispatchView> queryPdTaskPickupDispatchViewallController(@PathVariable("id") String val);
}
